package com.aaa.d03;

/**
 * @Author: whj
 * @Version 1.0
 * @Date: 2022/10/25  14:25
 */

//泛型类
public class Info<T> {
    private T var;

    public void show(){
        System.out.println("var+++++++"+var);
    }

    public T getVar() {
        return var;
    }

    public void setVar(T var) {
        this.var = var;
    }
}
